Repository navigation
Publish the MCP Registry listing from GitHub Actions - #16
Merged
Merged
Conversation
The registry only accepts io.github.course-code-framework/ names from an organization owner, which the interactive mcp-publisher login can't prove. This workflow logs in with GitHub OIDC instead and runs on each release tag, after npm publish. It installs a pinned mcp-publisher, verifies its Sigstore signature, and checks the npm version first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
mcp-publisher login githubfollowed bypublishwas rejected with a 403. The registry only allowsio.github.course-code-framework/names for an organization owner, and the interactive login can't read organization roles. The registry recommends publishing from GitHub Actions with OIDC, so the repository's identity proves the namespace and no secrets are needed.Changes
.github/workflows/publish-mcp-registry.ymlruns onv*tags and on manual dispatch. It:coursecode@<server.json version>is on npm with the matchingmcpNamemcp-publisherv1.8.6 and verifies it withcosign verify-blobagainst the registry'srelease.ymlsigning identitymcp-publisher login github-oidcand thenmcp-publisher publishAGENTS.md: the release steps now say to push the tag afternpm publish, which triggers the listing update.Testing
mcp-publisher_linux_amd64.tar.gzand its.sigstore.json; the archive putsmcp-publisherat the root.https://github.com/modelcontextprotocol/registry/.github/workflows/release.yml@refs/tags/v1.8.6and the issuerhttps://token.actions.githubusercontent.com, matching the workflow's checks.After merging, run it once from
mainto list 0.4.3.main'sserver.jsonis 0.4.3, and thev0.4.3tag predates this workflow.🤖 Generated with Claude Code